package com.youjiang.meeting.utils.weixinbean;

import java.io.Serializable;
/**
 * 微信的AccessToken
 * @author 永锋
 * @date 2016年8月3日 上午9:51:38
 * @version 1.0.1
 */
public class AccessToken implements Serializable {
	private static final long serialVersionUID = 3164323651059723530L;
	private String token;
	private int expiresIn;
	private long newtime;
	private String code;
//	public AccessToken(String token,int expiresIn) {
//		this.token=token;
//		this.expiresIn=expiresIn;
//	}
	
	public String getToken() {
		return token;
	}
	public long getNewtime() {
		return newtime;
	}
	public void setNewtime(long newtime) {
		this.newtime = newtime;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public int getExpiresIn() {
		return expiresIn;
	}
	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	@Override
	public String toString() {
		return "AccessToken [token=" + token + ", expiresIn=" + expiresIn
				+ ", newtime=" + newtime + ", code=" + code + "]";
	}
	
}
